<%@ page contentType="text/html; charset=iso-8859-1" language="java" %>
<%@ page import="schoolsource.sql.SchoolDBSQL" %>
<%@ page import="schoolsource.model.*" %>
<%@ page import="schoolsource.gui.*" %>
<%@ page import="schoolsource.security.SecurityToken" %>
<% SecurityToken st = (SecurityToken) request.getAttribute(FormFields.SESSION);
   String requestObject = (String) st.getValue(FormFields.TOKEN);
   int classnum = (new Integer((String) st.getValue(FormFields.CLASSNUM))).intValue();
   String displayMessage = (String) st.getValue("displayMessage");
   String loginType = (String) request.getAttribute(FormFields.USRTYPE);
   String schoolName = (String) request.getAttribute(FormFields.SCHOOLNAME);
   st.putValue("displayMessage", "");
 %>
<HTML>
  <HEAD>
    <SCRIPT LANGUAGE="JavaScript">

      function notify(x) {
        alert(x);
        top.frames.mainframe.refresh();
      }

    </SCRIPT>
  </HEAD>
  <BODY <%= (displayMessage != null && !"".equals(displayMessage)) ? "onLoad=\"notify('" + displayMessage + "')\"" : "" %>>

    <CENTER><BR><BR><B>View Area<B><BR><BR></CENTER>
    <FORM NAME="initialTCIFrame" METHOD="POST">
      <INPUT TYPE="HIDDEN" NAME="<%= FormFields.CURRENT %>" VALUE="<%= FormFields.SUBFRAME %>">
      <INPUT TYPE="HIDDEN" NAME="<%= FormFields.TOKEN %>" VALUE="<%= requestObject%>">
      <INPUT TYPE="HIDDEN" NAME="<%= FormFields.USRTYPE %>" VALUE="<%= loginType %>">
      <INPUT TYPE="HIDDEN" NAME="<%= FormFields.SCHOOLNAME %>" VALUE="<%= schoolName %>">
      <INPUT TYPE="HIDDEN" NAME="<%= FormFields.PARAMETER %>" VALUE="">
      <INPUT TYPE="HIDDEN" NAME="<%= FormFields.LINKCLICKED %>" VALUE="">
      <INPUT TYPE="HIDDEN" NAME="<%= FormFields.CLASSNUM %>" VALUE="<%= classnum %>">
    </FORM>
	<p>&nbsp;
	<p>&nbsp;
	<p>&nbsp;
  </BODY>
</HTML>
